<?php

namespace Xin\Hyperf\Fortify;

use Hyperf\Server\ServerFactory as HyperfServerFactory;
use Xin\Hyperf\Fortify\Server\ServerFactory;

class ConfigProvider
{
    /**
     * @return array
     */
    public function __invoke(): array
    {
        return [
            // 合并到  config/autoload/dependencies.php 文件
            'dependencies' => [
                HyperfServerFactory::class => ServerFactory::class,
            ],
            // 组件默认配置文件，即执行命令后会把 source 的对应的文件复制为 destination 对应的的文件
            'publish' => [
            ],
        ];
    }
}
